package com.sxf.biz.customer.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sxf.biz.customer.vo.*;
import com.sxf.biz.model.Center;
import com.sxf.biz.operator.vo.OpCenterListReq;
import com.sxf.core.db.page.Pagination;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description: TODO
 * @Author Leo
 * @date 2024/3/1922:48
 */
public interface CenterMapper extends BaseMapper<Center> {
    Pagination<CenterListRes> getCenterListByPage(Pagination<CenterListReq> objectPagination, @Param("req") CenterListReq req);

    /**
     * operator
     * @param objectPagination
     * @param req
     * @return
     */
    Pagination<CenterListRes> getCenterListByPage4Op(Pagination<OpCenterListReq> objectPagination, @Param("req") OpCenterListReq req);
    /**
     * --------------客户端
     */
    ProjectCenterDetailRes getProjectCenterDetail(@Param("req") ProjectCenterDetailReq req);

    List<ProjectCenterStaticRes> getSubjectsCenterStatic(@Param("pkProject") Long pkProject);
}
